package com.suian.spring.bean;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("prototype")
public class Plaything {
    public Plaything() {
        System.out.println("plaything 的构造方法在执行");
    }

    public void playing() {
        System.out.println("玩耍！！");
    }
}
